<template>
  <!-- 顶部内容 -->
  <div class="header-container">

    <!-- 左侧内容 -->
    <div class="left">
      <div v-if="$slots.left"
           class="container">
        <slot name="left" />
      </div>
    </div>
    <div class="right">
      <slot name="right" />
    </div>
  </div>

</template>

<script>
export default {
  name: 'PageHeader'
}
</script>

<style scoped lang="scss">
.header-container {
  display: flex;
  justify-content: space-between;
}
</style>
